/*
 * @Author: zhoulei0232
 * @LastEditors: zhoulei0232
 * @Date: 2021-06-01 08:34:14
 * @LastEditTime: 2021-11-15 17:20:35
 * @motto: Still water run deep
 * @Description: 环境配置
 * @FilePath: \vue3-admin\src\config\index.ts
 */

const env: any = import.meta.env.MODE || "prod";
const EnvConfig: any = {
  dev: {
    baseApi: "/",
    mockApi: "http://yapi.smart-xwork.cn/mock/110971",
  },
  test: {
    baseApi: "/",
    mockApi: "",
  },
  pre: {
    baseApi: "/",
    mockApi: "",
  },
  prod: {
    baseApi: "/",
    mockApi: "",
  },
};
export default {
  env,
  mock: true,
  ...EnvConfig[env],
};
